package Month10.day1012;

import java.io.File;
import java.io.FileNotFoundException;

public class test1 {
    File file;//成员file

    public void OpenConfig(String filename) throws FileNotFoundException{
        if(filename.equals("config.ini")){
            throw new FileNotFoundException("文件名称有误");
        }
    }
}
